﻿<%@ Page Title="Quản lý hệ thống" Language="C#" MasterPageFile="~/Page/MainSystem.Master" AutoEventWireup="true" CodeBehind="Sys.aspx.cs" Inherits="ERP.Page.Sys" %>
<asp:Content ID="Chead" ContentPlaceHolderID="head" runat="server">
<%--FileManager--%>
<ext:XScript runat="server">
    <script>
        var prepareData = function (data) {
            data.shortName = window.Ext.util.Format.ellipsis(data.name, 15);
            data.sizeString = window.Ext.util.Format.fileSize(data.size);
            data.dateString = window.Ext.Date.format(data.lastmod, "m/d/Y g:i a");

            return data;
        };
            
        var selectionChanged = function (dv,nodes) {
            var l = nodes.length;
            #{PanelFile}.setTitle('Tập tin (' + l + ' tập tin được chọn)');
        };
    </script>
</ext:XScript>
<%--End--%>
</asp:Content>
<asp:Content ID="CphMainLeft" ContentPlaceHolderID="CphMainLeft" runat="server">
<ext:Panel ID="PanelQuanTriHeThong" runat="server" Title="Quản trị hệ thống" Border="false" BodyPadding="6" Icon="Folder" AutoScroll="True">
    <Content>
        <ext:LinkButton ID="linkNhomQuyen" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Nhóm quyền" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabNhomQuyen});#{TabPanel1}.setActiveTab(#{TabNhomQuyen});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkModulesMain" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Modules Main" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabModoulesMain});#{TabPanel1}.setActiveTab(#{TabModoulesMain});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkModulesParrent" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Modules Parrent" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabModulesParrent});#{TabPanel1}.setActiveTab(#{TabModulesParrent});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkRoles" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Phân quyền" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabRoles});#{TabPanel1}.setActiveTab(#{TabRoles});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkUser" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Người dùng" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabUser});#{TabPanel1}.setActiveTab(#{TabUser});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkMailSetting" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Cấu hình Mail" Disabled="false">
            <Listeners>
                <Click Handler="#{TabPanel1}.addTab(#{TabMailSetting});#{TabPanel1}.setActiveTab(#{TabMailSetting});" />
            </Listeners>
        </ext:LinkButton>
        <ext:LinkButton ID="linkFileManager" Cls="link-menu" runat="server" Icon="ApplicationViewList" Text="Quản lý tệp tin" Disabled="false">
            <DirectEvents>
                <Click OnEvent="linkFileManager_Click">
                    <EventMask ShowMask="true" Msg="Đang tải" />
                </Click>
            </DirectEvents>
        </ext:LinkButton>
    </Content>
</ext:Panel>
</asp:Content>
<asp:Content ID="CphMainCenter" ContentPlaceHolderID="CphMainCenter" runat="server">
<ext:TabPanel ID="TabPanel1" runat="server" AutoFocus="true">
    <Bin>
        <ext:Panel ID="TabNhomQuyen" Title="Nhóm quyền" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderNhomQuyen" runat="server" Path="../Modules/GroupUser.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabModoulesMain" Title="Modules Main" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderModulesMain" runat="server" Path="../Modules/ModulesMain.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabModulesParrent" Title="Modules Parrent" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderModulesParrent" runat="server" Path="../Modules/ModulesParent.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabRoles" Title="Phân quyền" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderRoles" runat="server" Path="../Modules/UserPermisstion.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabUser" Title="Người dùng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderUser" runat="server" Path="../Modules/User.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabMailSetting" Title="Cấu hình Mail" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderMailSetting" runat="server" Path="../Modules/Mail_Setting.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--Từ điển kho--%>
     <Bin>
        <ext:Panel ID="TabChiNhanh" Title="Chi nhánh" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader1" runat="server" Path="../Modules/Branch.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabPhongChua" Title="Phòng chứa" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader2" runat="server" Path="../Modules/Room.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabKho" Title="Kho" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader3" runat="server" Path="../Modules/Warehouse.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDVTManufacturer" Title="Hãng sản xuất" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderManufacturer" runat="server" Path="../Modules/Manufacturer.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDVT" Title="Đơn vị tính" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader4" runat="server" Path="../Modules/Unit.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNhomVatTu" Title="Nhóm vật tư" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader5" runat="server" Path="../Modules/Materials_Type.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabVatTu" Title="Vật tư" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader6" runat="server" Path="../Modules/Materials.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabBarCode" Title="Quản lý mã vạch" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoaderBarCode" runat="server" Path="../Modules/Barcode.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--End--%>

    <%--Danh mục chung--%>
    <Bin>
        <ext:Panel ID="TabLoaiDoanhNghiep" Title="Loại doanh nghiệp" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader7" runat="server" Path="../Modules/Enterprise.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabNganHang" Title="Ngân hàng" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader8" runat="server" Path="../Modules/Bank.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabDanToc" Title="Dân tộc" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader9" runat="server" Path="../Modules/Ethnic.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabTienTe" Title="Tiền tệ" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader10" runat="server" Path="../Modules/Currency.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabQuocGia" Title="Quốc gia" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader11" runat="server" Path="../Modules/National.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabMien" Title="Miền" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader12" runat="server" Path="../Modules/Domain.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabTinh" Title="Tỉnh" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader13" runat="server" Path="../Modules/Province.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <Bin>
        <ext:Panel ID="TabQuanHuyen" Title="Quận huyện" runat="server" Hidden="true" Closable="true" CloseAction="Hide" Layout="FitLayout" Border="false">
            <Items>
                <ext:UserControlLoader ID="UserControlLoader14" runat="server" Path="../Modules/Districts.ascx" />
            </Items>
        </ext:Panel>
    </Bin>
    <%--End--%>
    <Plugins>
        <ext:BoxReorderer runat="server" />
    </Plugins>
    <BottomBar>
        <ext:Toolbar runat="server" Height="30px">
            <Items>
                <ext:Label Cls="lablecontrol" Text="Tên đăng nhập :" runat="server"></ext:Label>
                <ext:Label ID="lbServerNameTitile" Cls="labletitile" Text="IMS" runat="server"></ext:Label>
                <ext:Label Cls="lablecontrol" Text="Tên máy :" runat="server"></ext:Label>
                <ext:Label ID="lbMachineName" Cls="labletitile" Text="TenMay" runat="server"></ext:Label>
                <ext:Label Cls="lablecontrol" Text="IP :" runat="server"></ext:Label>
                <ext:Label ID="lbIdAdress" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
                <ext:Label Cls="lablecontrol" Text="Session :" runat="server"></ext:Label>
                <ext:Label ID="lbSessionStatus" Cls="labletitile" Text="IdAddress" runat="server"></ext:Label>
            </Items>
        </ext:Toolbar>
    </BottomBar>
</ext:TabPanel>
<%--FileManager--%>
<ext:Window
    ID="WindowFileManager"
    runat="server"
    Title="Quản lý tệp tin"
    Icon="Application"
    Width="795"
    Height="511"
    Border="False"
    Collapsible="False"
    Region="Center"
    Resizable="False"
    Hidden="True"
    Modal="True"
    HideMode="Offsets"
    Plain="true"
    Layout="BorderLayout">
    <Items>
        <ext:Panel ID="PanelToolbarHeader"
            runat="server"
            Header="false"
            Region="North"
            Border="false"
            Layout="FitLayout">
            <Content>
                <ext:Toolbar runat="server" Dock="Top" Border="false">
                    <Items>
                        <ext:Button ID="btnCreateFolder" runat="server" Text="Tạo thư mục" Icon="FolderAdd">
                            <DirectEvents>
                                <Click OnEvent="btnCreateFolder_Click">
                                    <EventMask ShowMask="True" Msg="Đang tải"></EventMask>
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                        <ext:ToolbarSeparator />
                        <ext:Button ID="btnDelFolder" runat="server" Text="Xoá" Icon="Reload">
                            <DirectEvents>
                                <Click OnEvent="btnDelFolder_Click">
                                    <EventMask ShowMask="True" Msg="Đang tải"></EventMask>
                                    <ExtraParams>
                                        <ext:Parameter Name="name" Value="btnDel"></ext:Parameter>
                                    </ExtraParams>
                                    <Confirmation ConfirmRequest="true"
                                        Title="Thông Báo" Message="Bạn có muốn xoá thư mục này không ?">
                                    </Confirmation>
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                        <ext:ToolbarSeparator />
                        <ext:FormPanel
                            ID="BasicForm"
                            runat="server"
                            Frame="True"
                            MarginSpec="0 8 0 0"
                            AutoHeight="true">
                            <Items>
                                <ext:FileUploadField
                                    ID="FileUploadPanel"
                                    runat="server"
                                    EmptyText="Chọn tập tin"
                                    ButtonText=""
                                    MarginSpec="0 8 0 0"
                                    Icon="Attach">
                                </ext:FileUploadField>
                            </Items>
                        </ext:FormPanel>
                        <ext:ToolbarSeparator />
                        <ext:Button ID="btnUpload" runat="server" Text="Tải lên">
                            <DirectEvents>
                                <Click
                                    OnEvent="btnUpload_Click"
                                    Before="if (!#{BasicForm}.getForm().isValid()) { return false; } 
                                        Ext.Msg.wait('Đang tải tập tin...', 'Đang tải');"
                                    Failure="Ext.Msg.show({ 
                                        title   : 'Lỗi', 
                                        msg     : 'Có lỗi xảy ra trong quá trình tải lên.Hoặc dung lượng tập tin quá lớn', 
                                        minWidth: 200, 
                                        modal   : true, 
                                        icon    : Ext.Msg.ERROR, 
                                        buttons : Ext.Msg.OK 
                                    });">
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                        <ext:ToolbarSeparator />
                        <ext:Button ID="btnRefreshFolder" runat="server" Text="Tải lại" Icon="Reload">
                            <DirectEvents>
                                <Click OnEvent="btnRefreshFolder_Click">
                                    <EventMask ShowMask="True" Msg="Đang tải"></EventMask>
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                    </Items>
                </ext:Toolbar>
            </Content>
        </ext:Panel>
        <ext:Panel ID="PanelFolder"
            runat="server"
            Region="West"
            Collapsible="False"
            MinWidth="175"
            Split="False"
            Width="175"
            Title="Thư mục">
            <Content>
                <ext:TreePanel 
                    ID="grFolder" 
                    runat="server" 
                    Border="false">
                    <DirectEvents>
                        <ItemDblClick OnEvent="PathDb_Click">
                            <EventMask ShowMask="true" Msg="Đang tải..." />
                            <ExtraParams>
                                <ext:Parameter Name="Name" Value="record.data.text" Mode="Raw" />
                            </ExtraParams>
                        </ItemDblClick>
                    </DirectEvents>
                    
                </ext:TreePanel>
            </Content>
        </ext:Panel>
        <ext:Panel
            ID="PanelFile"
            Region="Center"
            Cls="images-view"
            runat="server"
            Title="Tập tin (0 tập tin được chọn)"
            BodyPadding="6">
            <Items>
                <ext:DataView
                    ID="ImageView"
                    runat="server"
                    MultiSelect="False"
                    OverItemCls="x-item-over"
                    ItemSelector="div.thumb-wrap"
                    EmptyText="Không có tập tin được hiễn thị"
                    ContextMenuID="DataViewContextMenu" MarginSpec="0 5 0 0" Width="310"
                    TrackOver="true">
                    <Store>
                        <ext:Store ID="StoreFile" runat="server" PageSize="20" OnReadData="StoreFile_RefreshData">
                            <Model>
                                <ext:Model ID="Model1" runat="server" IDProperty="name">
                                    <Fields>
                                        <ext:ModelField Name="name" />
                                        <ext:ModelField Name="url" />
                                        <ext:ModelField Name="size" Type="Int" />
                                        <ext:ModelField Name="lastmod" Type="Date" />
                                    </Fields>
                                </ext:Model>
                            </Model>
                        </ext:Store>
                    </Store>
                    <Tpl runat="server">
                        <Html>
                            <tpl for=".">
							<div class="thumb-wrap" id="{name}">
								<div class="thumb">
									<img src="{url}" title="{name}"></img>
								</div>
								<span class="x-editable" style="color: red">{shortName}</span>
							</div>
						</tpl>
                            <div style="clear: both !important"></div>
                        </Html>
                    </Tpl>
                    <PrepareData Fn="prepareData" />
                    <Listeners>
                        <SelectionChange Fn="selectionChanged" />
                    </Listeners>
                    <DirectEvents>
                        <SelectionChange OnEvent="Select_Rows">
                            <EventMask ShowMask="true" Msg="Đang tải" />
                        </SelectionChange>
                    </DirectEvents>
                </ext:DataView>
                <ext:Hidden runat="server" ID="hdPath"></ext:Hidden>
                <ext:Hidden runat="server" ID="lbFileName"></ext:Hidden>
            </Items>
            <DockedItems>
                <ext:Toolbar ID="Toolbar2" runat="server" Dock="Bottom" AnchorHorizontal="100%">
                    <Items>
                        <ext:PagingToolbar ID="PagingToolbar1" runat="server" StoreID="StoreFile" BeforePageText="Trang" AfterPageText="của {0}" LastText="Cuối" NextText="Kế tiếp" PrevText="Trở lại" FirstText="Đầu" RefreshText="Làm tươi" DisplayInfo="true" DisplayMsg="Trang {0} - {1} của {2}" />
                        <ext:ToolbarSeparator />
                        <ext:Button ID="btnSubmitSelect" runat="server" Text="Chọn">
                            <DirectEvents>
                                <Click OnEvent="btnSubmitSelect_Click">
                                    <EventMask ShowMask="true" Msg="Đang tải..." />
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                        <ext:ToolbarSeparator />
                        <ext:Button ID="btnDelFile" runat="server" Text="Xoá">
                            <DirectEvents>
                                <Click OnEvent="btnDelFile_Click">
                                    <EventMask ShowMask="true" Msg="Đang tải..." />
                                    <ExtraParams>
                                        <ext:Parameter Name="name" Value="btnDelFile"></ext:Parameter>
                                    </ExtraParams>
                                    <Confirmation ConfirmRequest="true"
                                        Title="Thông Báo" Message="Bạn có muốn xoá tập tin này không ?">
                                    </Confirmation>
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                        <ext:ToolbarSeparator />
                        <ext:Button ID="btnClear" runat="server" Text="Bỏ chọn">
                            <DirectEvents>
                                <Click OnEvent="btnClear_Click">
                                    <EventMask ShowMask="true" Msg="Đang tải..." />
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                        <ext:ToolbarSeparator />
                        <ext:Button ID="btnCloseFileManager" runat="server" Text="Đóng">
                            <DirectEvents>
                                <Click OnEvent="btnCloseFileManager_Click">
                                    <EventMask ShowMask="true" Msg="Đang tải..." />
                                </Click>
                            </DirectEvents>
                        </ext:Button>
                    </Items>
                </ext:Toolbar>
            </DockedItems>
        </ext:Panel>
    </Items>
</ext:Window>
<ext:Window
    ID="WindowCreateFolder"
    runat="server"
    Closable="false"
    Resizable="false"
    Height="150"
    Icon="Lock"
    Title="Login"
    Draggable="false"
    Hidden="True"
    Width="350"
    Modal="True"
    Border="false"
    BodyPadding="5"
    HideMode="Offsets"
    Layout="FormLayout">
    <Items>
        <ext:TextField
            ID="txtPath"
            runat="server"
            FieldLabel="Đường dẩn:"
            ReadOnly="True"
            EmptyText="Đường dẩn">
        </ext:TextField>

        <ext:TextField
            ID="txtFolderName"
            runat="server"
            FieldLabel="Tên thư mục:"
            EmptyText="Nhập vào tên thư mục">
        </ext:TextField>
    </Items>
    <Buttons>
        <ext:Button ID="btnCreate" runat="server" Text="Tạo thư mục" Icon="Disk">
            <DirectEvents>
                <Click OnEvent="btnCreate_Click">
                    <EventMask ShowMask="true" Msg="Đang tải..." />
                </Click>
            </DirectEvents>
        </ext:Button>
        <ext:Button ID="btnCloseFolder" runat="server" Text="Bỏ qua" Icon="Decline">
            <DirectEvents>
                <Click OnEvent="btnCloseFolder_Click">
                    <EventMask ShowMask="true" Msg="Đang tải..." />
                </Click>
            </DirectEvents>
        </ext:Button>
    </Buttons>
</ext:Window>
<ext:Menu ID="DataViewContextMenu" runat="server">
    <Items>
        <ext:Button ID="btnViewFile" runat="server" Text="Xem" Icon="Magnifier" Flat="True">
            <DirectEvents>
                <Click OnEvent="btnViewFile_Click">
                    <EventMask ShowMask="true" Msg="Đang tải" />
                </Click>
            </DirectEvents>
            <Listeners>
                <Click Handler="#{DataViewContextMenu}.hide();"></Click>
            </Listeners>
        </ext:Button>
        <ext:Button ID="btnDownload" runat="server" Text="Tải về" Icon="DiskDownload" Flat="True">
            <DirectEvents>
                <Click OnEvent="btnDownload_Click"></Click>
            </DirectEvents>
            <Listeners>
                <Click Handler="#{DataViewContextMenu}.hide();"></Click>
            </Listeners>
        </ext:Button>
    </Items>
</ext:Menu>
<ext:Window
    ID="WindowViewFile"
    runat="server"
    Title="Xem ảnh"
    Icon="Map"
    Width="800"
    Height="498"
    Resizable="False"
    Modal="True"
    AutoScroll="True"
    Hidden="True"
    Region="Center"
    HideMode="Offsets"
    Border="False"
    DefaultAnchor="100%">
    <Items>
        <ext:Image ID="ImageFile" runat="server">
            <ResizableConfig runat="server" PreserveRatio="true" HandlesSummary="s e se" />
        </ext:Image>
    </Items>
</ext:Window>
<%--End--%>
</asp:Content>